package cn.anquing.shardingsphere.demo.service;

import cn.anquing.shardingsphere.demo.entity.Order;

import java.util.List;

/**
 * @author wangqq65
 * @since 2021/9/3 17:56
 */
public interface OrderService {

    /**
     * getByOrderId.
     *
     * <p>getByOrderId.
     *
     * @author wangqq65
     * @since 2021/9/7 9:27
     * @param orderId
     * @return
     */
    Order getByOrderId(Long orderId);

    /**
     * listAll.
     *
     * <p>listAll.
     *
     * @author wangqq65
     * @since 2021/9/7 10:19
     * @param 
     * @return 
     */
    List<Order> listAll();
}
